package com.org.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Specification entity. @author MyEclipse Persistence Tools
 */

public class Specification implements java.io.Serializable {

	// Fields

	private Long id;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private Integer orders;
	private String memo;
	private String name;
	private Integer type;
	private Set specificationValues = new HashSet(0);
	private Set productSpecifications = new HashSet(0);

	// Constructors

	/** default constructor */
	public Specification() {
	}

	/** minimal constructor */
	public Specification(Timestamp createDate, Timestamp modifyDate,
			String name, Integer type) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.name = name;
		this.type = type;
	}

	/** full constructor */
	public Specification(Timestamp createDate, Timestamp modifyDate,
			Integer orders, String memo, String name, Integer type,
			Set specificationValues, Set productSpecifications) {
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.orders = orders;
		this.memo = memo;
		this.name = name;
		this.type = type;
		this.specificationValues = specificationValues;
		this.productSpecifications = productSpecifications;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public Integer getOrders() {
		return this.orders;
	}

	public void setOrders(Integer orders) {
		this.orders = orders;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Set getSpecificationValues() {
		return this.specificationValues;
	}

	public void setSpecificationValues(Set specificationValues) {
		this.specificationValues = specificationValues;
	}

	public Set getProductSpecifications() {
		return this.productSpecifications;
	}

	public void setProductSpecifications(Set productSpecifications) {
		this.productSpecifications = productSpecifications;
	}

}